+2000-12-06 Elliot Lee <sopwith@redhat.com>
+ * configure.in: Detect freetype properly
+ * modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
+
2000-12-06 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/Makefile.am:
+2000-12-06 Elliot Lee <sopwith@redhat.com>
+ * configure.in: Detect freetype properly
+ * modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
+
2000-12-06 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/Makefile.am:
+2000-12-06 Elliot Lee <sopwith@redhat.com>
+ * configure.in: Detect freetype properly
+ * modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
+
2000-12-06 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/Makefile.am:
+2000-12-06 Elliot Lee <sopwith@redhat.com>
+ * configure.in: Detect freetype properly
+ * modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
+
2000-12-06 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/Makefile.am:
+2000-12-06 Elliot Lee <sopwith@redhat.com>
+ * configure.in: Detect freetype properly
+ * modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
+
2000-12-06 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/Makefile.am:
+2000-12-06 Elliot Lee <sopwith@redhat.com>
+ * configure.in: Detect freetype properly
+ * modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
+
2000-12-06 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/Makefile.am:
+2000-12-06 Elliot Lee <sopwith@redhat.com>
+ * configure.in: Detect freetype properly
+ * modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
+
2000-12-06 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/Makefile.am:
x_ldflags=
x_libs=
xinput_progs=
+
+ AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no)
+ if test x$FREETYPE_CONFIG = xno ; then
+ AC_MSG_ERROR([*** freetype-config not found])
+ fi
+
+ FREETYPE_CFLAGS="`$FREETYPE_CONFIG --cflags`"
+ FREETYPE_LIBS="`$FREETYPE_CONFIG --libs`"
+ CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
AM_CONDITIONAL(USE_LINUX_FB, true)
else
AM_CONDITIONAL(USE_LINUX_FB, false)
fi
+AC_SUBST(FREETYPE_LIBS)
+AC_SUBST(FREETYPE_CFLAGS)
#
# Check for Pango
-I$(top_srcdir) \
-I$(top_srcdir)/gdk \
-I$(top_builddir)/gdk \
- `freetype-config --cflags`\
+ @FREETYPE_CFLAGS@ \
@GTK_DEBUG_FLAGS@ \
@GTK_XIM_FLAGS@ \
@GTK_LOCALE_FLAGS@ \
LDFLAGS = @STRIP_BEGIN@ \
@GLIB_LIBS@ \
- @PANGO_CFLAGS@ \
- `freetype-config --libs` \
+ @PANGO_LIBS@ \
+ @FREETYPE_LIBS@ \
-lm \
@STRIP_END@
-I$(top_srcdir)/gdk \
-I$(top_builddir)/gdk \
-I$(top_srcdir)/gdk/linux-fb \
- `freetype-config --cflags`\
+ @FREETYPE_CFLAGS@ \
@GTK_DEBUG_FLAGS@ \
@GTK_XIM_FLAGS@ \
@GTK_LOCALE_FLAGS@ \
LDFLAGS = @STRIP_BEGIN@ \
@GLIB_LIBS@ \
@PANGO_CFLAGS@ \
- -L/gnome2/lib \
- `freetype-config --libs` \
+ @FREETYPE_LIBS@ \
-lm \
@STRIP_END@